//
//  Test41.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/28.
//

#include "Test41.hpp"
#include <iostream>
using namespace std;
void Result(char ch)
{
    switch (ch) {
        case 'A':
        case 'a':
            cout<<"well!";
            break;
        case 'B':
        case 'b':
            cout<<"good!";
            break;
        case 'C':
        case 'c':
            cout<<"pass!";
            break;
        default:
            cout<<"bad!";
            break;
    }
}

void test41() {
    char a1 = 'b',a2 = 'C',a3  = 'f';
    cout<<"Results:"<<endl;
    Result(a1);Result(a2);Result(a3);Result('A');
}
